<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        /* 
          字符串:
             1.加了引号就是字符串    
             2.转义符 \  \n换行
             3.字符串 .length 可以获取字符串的长度
             4. + 字符串拼接
             5.字符串和其他数据类型拼接，都当作字符串处理，有一个隐式转换的过程
             6.字符串和变量拼接，引引加加""++

        */

             console.log("你好\"啊");
             console.log("你好\n啊");
             var str = "黑色  幽默";
             console.log(str.length);

             var age = 12;
             var address = "郑州";
             var school = "郑州大学";
              console.log(address + true);
             console.log(address + school);

             console.log("今天我" + age + "岁了");

    </script>
</head>
<body>
    
</body>
</html>